<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ include file="/admin/jsp/taglibs.jsp"%>
<html>
	<head>
		<%@ include file="/admin/jsp/header.jsp"%>
		<%@ include file="/framework/jsp/validation.jsp"%>
		<script language="javascript" src="/framework/js/tips_alert.js"></script>
		<script src="/framework/js/jquery.js" type="text/javascript"></script>
		<base target="_self">
	</head>
	<body>
		<table width="98%" border="0" align="center" cellpadding="3" cellspacing="0">
			<tr>
				<td class="page-title">
					<img src="/admin/images/page_title.gif" alt="title" width="17" height="12">
					&nbsp;&nbsp; 系统管理 » 接口管理 » 接口参数新增 

				</td>
			</tr>
		</table>
		<br>
		<form id="form" action="/admin/jsp/sysCom.do?method=saveSysComParam" method="post">
			<table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
				<tr>
					<td>&nbsp;</td>
					<td align="left">带<font color="red">&nbsp;*&nbsp;</font>为必填项</td>
				</tr>
				<tr>
					<td align="right" valign="middle">
						<font color="red">&nbsp;*&nbsp;</font>参数名称:
					</td>
					<td>
						 <input type="hidden" name="comId" id="comId" value="${sysCom.id }">
						 <input type="text" name="paramName" class="required" maxlength="11">
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle">
						<font color="red">&nbsp;*&nbsp;</font>参数值:
					</td>
					<td>
						<input type="text" name="paramValue" class="required" maxlength="11">
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle">
						<font color="red">&nbsp;*&nbsp;</font>参数描述:
					</td>
					<td>
						<textarea type="text" name="paramDesc" class="required"></textarea>
					</td>
				</tr>
				<tr>
					<td align="center" valign="middle" colspan="2">
						<input type="submit" class="short-button" value="确  定" />&nbsp;&nbsp;
						<input type="button" class="short-button" value="返  回" onclick="back(<c:out value='${sysCom.id}' />)" />
					</td>
				</tr>
			</table>
		</form>
	</body>
	<script>
		new Validation('form',{immediate:true});	
		function back(id){
			window.location='/admin/jsp/sysCom.do?method=viewSysComParam&id='+id;
		}	
	</script>
</html>